import { get, post } from "@/utils/service";

function getNowPlayingSong(room_id: number) {
  return get(`/song/getNowPlayingSong?room_id=${room_id}`);
}

function getLrc(rid: number) {
  return post(`/song/getSongLrc`, { rid });
}

function getMusicUrl(rid: number) {
  return post("/song/getSongUrl", { rid });
}
export { getNowPlayingSong, getLrc, getMusicUrl };
